import request from '@/utils/request'
export default {
    //登录
    submitLogin(user) {
        return request({
            url: `/ucenter/member/loginUser`,
            method: 'post',
            data: user
        })
    },
    // 根据token获取用户信息
    getLoginInfo() {
        return request({
            url: `/ucenter/member/getLoginInfo`,
            method: 'get',
        })
    },
}